//
//  ZRButton.m
//  YIJU2.0-HD
//
//  Created by 张金国 on 16/5/13.
//  Copyright © 2016年 张金国. All rights reserved.
//

#import "ZRButton.h"

@implementation ZRButton


+ (ZRButton *)buttonWithBorderWidth:(CGFloat )borderWidth title:(NSString *)title backgroundColor:(UIColor *)backgroundColor {
    ZRButton  *button = [ZRButton buttonWithType:UIButtonTypeCustom];
    button.layer.borderWidth = borderWidth;
    button.layer.masksToBounds = YES;
    button.layer.cornerRadius = 5.0f;
    [button setBackgroundColor:backgroundColor];
    [button setTitle:title forState:UIControlStateNormal];
    return button;
}

@end
